﻿/********
* Copyright © 深圳市新元素医疗技术开发有限公司 . All rights reserved.
* 
*  Description:
*  Create By Kain at 5/21/2011 10:24:20 AM
*  
*
*  Revision History:
*  Date                  Who                 What
*  
* 
********/

#region namespace

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

#endregion

namespace Cherry.Agile.Core.Instrumentation
{
    /// <summary>
    /// IServiceInstrumentationProvider
    /// </summary>
    public interface IServiceInstrumentationProvider:IInstrumentation
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="time"></param>
        void InvokeDuration(int time);
        
        /// <summary>
        /// 
        /// </summary>
        void Error();

        /// <summary>
        /// 
        /// </summary>
        /// <param name="length"></param>
        void InvokeMessageSize(int length);
    }
}
